﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;

namespace JYJ.AiYard.StationManagement.TbSales
{
    public class TbSale : Entity<long>, ICreationAudited, IModificationAudited, IDeletionAudited, IMustHaveTenant
    {
        public long Station_ID { get; set; }

        public string Sale_No { get; set; }

        public string Sale_Name { get; set; }

        public string Sale_FullName { get; set; }

        public string Sale_Address { get; set; }

        public bool Sale_Stop { get; set; }

        public int Sale_BillType { get; set; }
        public int Sale_DeduType { get; set; }

        public decimal Sale_DeduAcc{ get; set; }

        public int Sale_TermType { get; set; }
        public int Sale_TermValue { get; set; }

        public decimal Sale_Amount { get; set; }
        public int Sale_HighBillNumber { get; set; }
  
        public DateTime Sale_BeginTime { get; set; }
        public DateTime Sale_EndTime { get; set; } 
        public int? Sale_CreateCount { get; set; }
        public int Sale_CreateType { get; set; }

        public int TenantId { get; set; }

        public DateTime CreationTime { get; set; }

        public long? CreatorUserId { get; set; }

        public long? LastModifierUserId { get; set; }

        public DateTime? LastModificationTime { get; set; }

        public bool IsDeleted { get; set; }

        public long? DeleterUserId { get; set; }

        public DateTime? DeletionTime { get; set; }
    }
}
